/*
 * Copyright (c) 2023, 2023,yzc.cn All rights reserved.
 *
 */
package cn.yzc.exception;

/**
 * <p>Project: SpringBootPro - ValidateException</p>
 * <p>Powered by yzc On 2023-11-11 09:01:43</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */

import java.util.Map;

/**
 * 自定义异常
 */
public class ValidateException extends RuntimeException{
    //存储异常信息
     Map errors;


    public ValidateException(Map errors){
        super("后端验证失败");
         this.errors=errors;
     }

    public Map getErrors() {
        return errors;
    }


}
